package com.xy.biz.mes.domain.enums;

import com.xy.lang.enums.CodeEnum;

/**
 * 订单类型：1-分装，2-生产
 */
public enum ManufactureOrderTypeEnum implements CodeEnum {
    SPLIT(1, "分装"),
    MANUFACTURE(2, "生产");

    private int code;
    private String name;

    ManufactureOrderTypeEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

}
